package com.greateamd.timetableasy.client.services;

import java.io.Serializable;
import java.util.List;

import net.sf.gilead.pojo.gwt.LightEntity;

import com.greateamd.timetableasy.domain.exceptions.ServerSideException;

public interface EntityRemoteService<E extends LightEntity>{
	
	boolean add(E e);
	boolean remove(E e);
	void save(E e) throws ServerSideException;
	E find(Serializable id) throws ServerSideException;
	List<E> getAll() throws ServerSideException;
}
